var app = angular.module('myApp01', []);
app.controller('DRController01', function ($scope) {
  $scope.resultList = [{
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'normal',
    levelDesc: '一般级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'warning',
    levelDesc: '告警级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '过压保护',
    oprate: '动作'
  }, {
    name: '演示地址#电容器-',
    level: 'danger',
    levelDesc: '事故级',
    time: '2017-08-08 22:22:22',
    type: '遥信变位',
    content: '系统过流',
    oprate: '动作'
  }];
  $scope.clock1 = new Date();
  var updateClock = function () {
    $scope.clock1 = new Date();
  };
  setInterval(function () {
    $scope.$apply(updateClock);
  }, 1000);
  updateClock();
});